Vb/vb/lbox publishing plt 1701 2 #1890
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Story: https://labelbox.atlassian.net/browse/PLT-1701
This PR integrates the lbox workflow into our SDK build process, enabling automatic publishing of new lbox libraries with SDK releases.
Goals Not Achieved: Hard-coded library names remain in the provenance step of the lbox workflow.
Discussion: We're using the third-party reusable GitHub workflow slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0. In GitHub Actions, reusable workflows run as separate jobs, not steps within a job.
To dynamically build multiple lbox libraries, we need a matrix with dynamic entries. If we could run the provenance workflow as a job step, it would support a dynamic package matrix. However, this isn’t possible with the current setup.
Links:
-Possible workaround path: https://github.com/orgs/community/discussions/17245 or https://github.com/marketplace/actions/matrix-outputs-write
We do not have 2 lbox packages atm, so the flow will work as is. I will revisit at the end of sprint if I have time
Type of change
Please delete options that are not relevant.
All Submissions
New Feature Submissions
Changes to Core Features